package pers.liyan.shi.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
@EnableEurekaClient
//启用断路器
@EnableCircuitBreaker
public class SpringCloudDeptProviderApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringCloudDeptProviderApplication.class);
    }


}
